Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: Sending MIME Mail
Feedback Type: Problem
Product Area: Notes 8 Client
Technical Area: Functionality
Platform: Windows XP client
Release: 8.0.1
Reproducible: Always

Hi

I have an unusual problem. I am trying to convert a Rich Text Email into MIME. I am doing this as the email is being sent from a mail-in database, and I am spoofing the email so that it appears to come from the database rather than the person hitting send. This is done by creating a document in the mail.box on the server, then setting the From and Principal fields. I used to just copy the RT Body to the new document, but that is causing issues when rich text content (like tables) are being used.

So, I started looking at creating the email as MIME, and then sending it. I found that I was able to get the Body Field on the composed document to save as MIME, which using the NotesMimeEntity class I was able to read and process. I got as far as getting this to send successfully to the Notes Client and external email (gmail) when it contained Tables, Attachments and Embedded Images.

However, all of this was done on the client with the database local. As soon as I put the database on the server, the MIME content was being treated as the email content, rather than being decoded.

e.g. This is what appears in gmail.

MIME-Version: 1.0
Message-ID: <OF23B8FD31.CB16B7A9-ONCA257677.0027A160@didata.com.au>
X-MIMETrack: Itemize by Notes Client on James Cheetham/Sydney/Com Tech/AU(Release 8.0.1|February
07, 2008) at 23/11/2009 06:12:40 PM,
Serialize by Router on Aunddcldom1a/Sydney/Com Tech/AU(Release 8.0.1|February
07, 2008) at 23/11/2009 06:12:53 PM,
Serialize complete at 23/11/2009 06:12:53 PM
Content-Type: text/html;
charset="US-ASCII"


<table border width=100%>
<tr valign=top>
<td width=50%><font size=2 face="sans-serif">test</font>
<td width=50%><font size=2 face="sans-serif">test</font>
<tr valign=top>
<td><font size=2 face="sans-serif">test</font>
<td><font size=2 face="sans-serif">test</font></table>
<br>

If I run the same code base on the client, gmail receives the email with the table showing. I have sent emails from both Databases to my Notes Mail, and looked for any differences, and they appear to be the same.

Does anyone have any idea why this could be happening? The mail.box that is being used is on the same server in both situations (my mail server), and both the server and client are 8.0.1.

Thanks in advance

James


Feedback number WEBB7Y3S38 created by ~Sean Cisnichekgon on 11/23/2009


Sending MIME Mail (~Sean Cisnichek... 23.Nov.09)
. . it's because of the notes client fu... (~Hal Elalyettu 16.Mar.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS